<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Bugsby Tracking</title>
<link href="stylesheets/group1Site.css" rel="stylesheet" type="text/css">
<link rel="icon" href="graphics/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="graphics/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="scripts/jquery_datepicker/ui.all.css" type="text/css" media="screen" />

<script src="scripts/jquery-1.7.1.js"></script>
<script src="scripts/imageSwap.js"></script>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id="wrapper">
  <div id="banner"> <img src="graphics/banner1.png" height="90" width="730" alt="bugsby logo"> </div>
  <div id="leftcolumn">
    <div id="nav">
      <ul>
        <li><a href="index.html"><img src="graphics/home.ico" border=0 height="36" width="36" alt="home icon">&nbsp;Home</a></li>
        <li><a href="buglist.php"><img src="graphics/Spider.ico" border=0 height="36" width="36" alt="bug list icon">&nbsp;Bug List</a></li>
        <li><a href="buginfo.html"><img src="graphics/info.png" border=0 height="36" width="36" alt="Info">&nbsp;Info</a></li>
        <li><a href="bugmail.html"><img src="graphics/Gmail.png" border=0 height="36" width="36" alt="feedback icon">&nbsp;Contact</a></li>
      </ul>
    </div>
    <!-- End Nav id --> 
  </div>
  <!-- End leftcolumn -->
  
  <div id="content">
    <h1>Bugsby - Add a Bug to Bugsby</h1>
    <hr>
    <h2>Enter Values for New Bug Entry:</h2>
    <form id="addBug" action="add_bug.php" method="post">
    <table id="addBugTable">
    <tr>
      <td><label class="inputLabel">Priority: </label></td>
      <td>
        
        <select name="newPri">
          <option value="1">Must be Fixed</option>
          <option value="2">Highly Desirable</option>
          <option value="3">Nice to Have</option>
          <option value="4">Low Priority</option>
        </select>
      </td>
    </tr>
    <tr>
      <td><label class="inputLabel">Bug Description: </label></td>
      <td><input type="text" name="newDesc" id="newDesc" /></td>
    </tr>
    <tr>
      <td><label class="inputLabel">Status: </label></td>
      <td><!--		<input id="inputStatus" type="text" name="newStatus" />-->
        
        <select name="newStatus">
          <option value="1">New</option>
          <option value="2">Open</option>
          <option value="3">Test</option>
          <option value="4">Rejected</option>
          <option value="5">Closed</option>
        </select></td>
    </tr>
    <tr>
      <td><label class="inputLabel">Start Date (YYYY-MM-DD): </label></td>
      <td><span id="sprytextfield1">
        <input type="text" name="newDateAssigned" id="newDateAssigned" />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format: MUST be YYYY-MM-DD</span></span></td>
    </tr>
    <tr>
      <td><label class="inputLabel">Developer Assigned: </label></td>
      <td><!--<input type="text" name="newAssignee" id="newAssignee" />-->
        
        <select name="newAssignee">
          <option value="1">Brian M.</option>
          <option value="2">Venkata</option>
          <option value="3">Donnie</option>
          <option value="4">Pete S.</option>
          <option value="5">Frank</option>
        </select></td>
    </tr>
    <tr>
      <td><label class="inputLabel">Owner Assigned: </label></td>
      <td><!--<input type="text" name="newOwner" id="newOwner" />-->
        
        <select name="newOwner">
          <option value="1">Brian M.</option>
          <option value="2">Venkata</option>
          <option value="3">Donnie</option>
          <option value="4">Pete S.</option>
          <option value="5">Frank</option>
        </select></td>
    </tr>
    <tr>
      <td><label class="inputLabel">Project Assigned: </label></td>
      <td><!--<input type="text" name="newProject" id="newProject" />-->
        
        <select name="newProject">
          <option value="1">Bugsby Form Design</option>
          <option value="2">Bugsby Validation</option>
          <option value="3">Java GUI</option>
          <option value="4">Unit Testing</option>
          <option value="4">HTML Effects</option>
        </select></td>
    </tr>
    <tr>
      <td><br /></td>
    </tr>
    <tr>
      <td>
    <form action="add_bug.php" method="post">
      <input type="image" SRC="graphics/doc1.ico" width="48" height="48" ALT="Add Bug!" />
      </td>
    </form>
    <td><form action="buglist.php" method="post" >
        <input type="image" SRC="graphics/Spider.ico" width="48" height="48" ALT="Add Bug!" />
      </form>
    <td></tr>
    <tr>
      <td><p>Submit New Bug</p></td>
      <td><p>Return to Bug List</p></td>
    </tr>
    </table>
    <br />
  </div>
  <hr>
  <div id="navGraphics">
    <h2>Click on a Graphic to Choose an Option:</h2>
    <table width="800" border="0">
      <tr>
        <td><a href="index.html"><img src="graphics/home.png" border=0 height="128" width="128" alt="homepage icon" rel="graphics/homeRed.png" class="rollover" /></a></td>
        <td><a href="buginfo.html"><img src="graphics/info.png" border=0 height="128" width="128" alt="information icon" rel="graphics/infoRed.png" class="rollover" /></a></td>
        <td><a href="bugmail.html"><img src="graphics/Gmail.png" border=0 height="128" width="128" alt="send email icon" rel="graphics/GmailRed.png" class="rollover" /></a></td>
      </tr>
      <tr>
        <td class="standardText">Bugsby Home</td>
        <td class="standardText">Information</td>
        <td class="standardText">Contact</td>
      </tr>
    </table>
    <p>&nbsp;</p>
  </div>
  <div id="footer"> Site Content: <a href="mailto:cs633group1@gmail.com">CS633 Group 1</a> </div>
  <!-- End Footer --> 
</div>
<!-- End Wrapper --> 
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "date", {format:"yyyy-mm-dd"});
</script>
<!-- Java Scripts for Calendar Date Selector -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js"></script>
<script type="text/javascript">
        $(document).ready(function(){
		$("#newDateAssigned").datepicker({ showOn: 'button', buttonImageOnly: true, buttonImage: 'scripts/jquery_datepicker/images/icon_cal.png', dateFormat: 'yy-mm-dd'});
        });
</script>
</body>
</html>
